﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QLBH.Report
{
    public partial class frmReport : Form
    {
        public frmReport()
        {
            InitializeComponent();
        }
        public static DataTable dt;
        public static string Type;
        private void frmReport_Load(object sender, EventArgs e)
        {
            if (Type == "ReportWarehouse")
            {
                ReportWarehouse obj = new ReportWarehouse();
                obj.SetDataSource(dt);
                crystalReportViewer1.ReportSource = obj;
                crystalReportViewer1.Refresh();
            }
        }
    }
}
